package persistent.prestige.platform.security.model;

import java.io.Serializable;
import java.util.Set;

/**
 * 
 * @author prestigeding
 *
 */
public interface User extends Serializable {
	/** 用户ID */
	public Integer getId();
	
	public void setId(Integer id);
	
	public String getLoginName();
	
	public Set<? extends Role> getAllRoles();
	
	String getPassword();

}
